package com.ruoyi.laiwu.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 降雨量业务对象 lw_st_pptn_r
 *
 * @author ruoyi
 * @date 2024-03-25
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class LwStPptnRBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String stcd;

    /**
     * 时间
     */
    @NotNull(message = "时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date tm;

    /**
     * 水位
     */
    @NotNull(message = "水位不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double drp;


}
